package com.rimi.service;

import com.rimi.bean.User;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * InnoDB free: 11264 kB 服务类
 * </p>
 *
 * @author sky
 * @since 2018-06-15
 */
public interface UserService extends IService<User> {

    //根据id查询对象
    User getUserById(Integer id);
    //对象是否存在
    boolean  isUserExist(String userName);

    String getPasswordByUsername(String userName);
    void modifyPasswordByUsername(String userNname,String userPs);

    String getUserId();
    String getUserattentionId();
    String getattentionFlag();
}
